var Workport = Workport || {};

Workport.UserDomain = 
	DetailRequest : function(){
	},
	DetailResponse : function(){
		this.code;
		this.message;
		this.details = [
		     function(){
		    	 this.userImage;
		    	 this.username;
		    	 this.jobTitle;
		    	 this.nickname;
		    	 this.userId;
		    	 this.mailingAddress;
		    	 this.emailBusiness;
		    	 this.emailPersonal;
		    	 this.phoneBusiness;
		    	 this.phoneMobile;
		    	 this.phoneHome;
		    	 this.leaveInfo;
		    	 this.tags;
		    	 this.website;
		    	 this.resumeCV;
		    	 this.socialNetworks;
		    	 this.desc;
		    	 this.notes;
		     }
		];
	},
	BasicUserRequest : function(){
	},
	BasicUserlResponse : function(){
		this.code;
		this.message;
		this.users = [
		     function(){
		    	 this.accountName;
		    	 this.name;
		    	 this.firstName;
		    	 this.lastName;
		    	 this.nickName;
		    	 this.sipAddress;
		     }
		];
	},
	VisitUserRequest : function(){
		this.userId;
	},
	VisitUserResponse : function(){
		this.code;
		this.message;
		this.details = [
		     function(){
		    	 this.userImage;
		    	 this.username;
		    	 this.jobTitle;
		    	 this.nickname;
		    	 this.userId;
		    	 this.mailingAddress;
		    	 this.emailBusiness;
		    	 this.emailPersonal;
		    	 this.phoneBusiness;
		    	 this.phoneMobile;
		    	 this.phoneHome;
		    	 this.leaveInfo;
		    	 this.tags;
		    	 this.website;
		    	 this.resumeCV;
		    	 this.socialNetworks;
		    	 this.desc;
		    	 this.notes;
		    	 this.isFollow;
		     }
		];
	},
	UpdateRequest : function(){
		this.nickName;
		this.about;
		this.status;
		this.tags;
		this.skill;
		this.interest;
	},
	UpdateResponse : function(){
		this.code;
		this.message;
	},
	UpdateImageRequest : function(){
		this.imageBase64;
	},
	UpdateImageResponse : function(){
		this.code;
		this.message;
	},
	AccessRequest : function(){
	},
	AccessResponse : function(){
		this.code;
		this.message;
		this.users = [ 
		     function(){
		    	 this.userId;
		    	 this.moderators = [
		    	      function(){
		    	    	  this.id;
		    	    	  this.name;
		    	      }
		    	 ];
		    	 this.members = [
		    	      function(){
		    	    	  this.id;
		    	    	  this.name;
		    	      }
		    	 ];
		    	 this.viewers = [
   		    	      function(){
		    	    	  this.id;
		    	    	  this.name;
		    	      }
		    	 ];
		     } 
		];
	},
	FollowRequest : function(){
		this.userId;
		this.action; // Follow/Unfollow
	},
	FollowResponse : function(){
		this.code;
		this.message;
	},
	NetWorkRequest : function(){
	},
	NetWorkResponse : function(){
		this.code;
		this.message;
		this.users = [ 
		     function(){
		    	 this.userId;
		    	 this.userName;
		    	 this.fullName;
		    	 this.emailId;
		    	 this.flag;
		     } 
		];
	},
	AuthRequest : function(){
		this.userId;
		this.password;
	},
	AuthResponse : function(){
		this.token;
		this.code;
		this.message;
	}
}